<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script type="text/javascript">

    function Person() {}
    var hello = new Person()


    Person.prototype.sayHello = function () {
        console.log('no problem')
    }
    hello.sayHello()
</script>

</body>
</html>
